package com.xwy.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (SysUserRole)实体类
 *
 * @author makejava
 * @since 2020-06-09 08:07:17
 */
public class SysUserRole implements Serializable {
    private static final long serialVersionUID = -40611317875244980L;
    /**
    * 用户角色编号
    */
    private String urid;
    /**
    * 用户编号
    */
    private SysUser user = new SysUser();
    /**
    * 角色编号
    */
    private List<SysRole> roles = new ArrayList<>();

    public String getUrid() {
        return urid;
    }

    public SysUserRole setUrid(String urid) {
        this.urid = urid;
        return this;
    }

    public SysUser getUser() {
        return user;
    }

    public SysUserRole setUser(SysUser user) {
        this.user = user;
        return this;
    }

    public List<SysRole> getRoles() {
        return roles;
    }

    public SysUserRole setRoles(List<SysRole> roles) {
        this.roles = roles;
        return this;
    }
}
